import Router from 'koa-router';
import sendPhoneCode from '../../../controller/api/tools/getCode';
import verifyCode from '../../../controller/api/tools/verifyCode';

const toolRouter = new Router();

// 获取验证码
toolRouter.post('/getCode', sendPhoneCode);

// 注册
toolRouter.post('/register', verifyCode);

export default toolRouter;
